package se.wangs.decorator.interfacetype;

/**
 * -- coding: UTF-8 -- *
 *
 * @author wangs
 * @date 2023/12/11 15:54
 * @description 饮料基类，实现接口
 */
public class Beverage implements Showable{
    protected String name = "unknown";
    @Override
    public String getName() {
        return name;
    }

    @Override
    public double cost() {
        return 0;
    }
}
